Filename | (eval 1143)[/usr/lib/perl5/Template/Document.pm:78] |
Statements | Executed 5 statements in 6µs |
Eval Invoked At | /usr/lib/perl5/Template/Document.pm line 78 |
Sibling evals | 1, 2, 3, 4, 5, 6, 7, 8 |
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | sub { | ||||
2 | 1 | 700ns | my $context = shift || die "template sub called without context\n"; | ||
3 | 1 | 3µs | 1 | 4µs | my $stash = $context->stash; # spent 4µs making 1 call to Template::Context::stash |
4 | 1 | 400ns | my $output = ''; | ||
5 | 1 | 300ns | my $_tt_error; | ||
6 | |||||
7 | 1 | 900ns | eval { BLOCK: { | ||
8 | $output .= "</title>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n<meta name=\"generator\" content=\"Koha "; | ||||
9 | #line 3 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
10 | $output .= $stash->get('Version'); | ||||
11 | $output .= "\" /> <!-- leave this for stats -->\n<link rel=\"shortcut icon\" href=\""; | ||||
12 | #line 4 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
13 | if (($stash->get('OpacFavicon'))) { | ||||
14 | #line 4 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
15 | $output .= $stash->get('OpacFavicon'); | ||||
16 | } | ||||
17 | else { | ||||
18 | #line 4 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
19 | $output .= $stash->get('themelang'); | ||||
20 | $output .= "/includes/favicon.ico"; | ||||
21 | } | ||||
22 | |||||
23 | $output .= "\" type=\"image/x-icon\" />\n<link rel=\"stylesheet\" type=\"text/css\" href=\""; | ||||
24 | #line 5 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
25 | $output .= $stash->get('themelang'); | ||||
26 | $output .= "/lib/jquery/jquery-ui.css\" />\n"; | ||||
27 | #line 6 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
28 | if (!($stash->get('opaclayoutstylesheet'))) { | ||||
29 | $stash->set('opaclayoutstylesheet', 'opac.css'); | ||||
30 | } | ||||
31 | |||||
32 | $output .= " "; | ||||
33 | #line 8 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
34 | if (($stash->get(['opaclayoutstylesheet', 0, 'match', [ '^https?:|^\/' ]]))) { | ||||
35 | $output .= " <link rel=\"stylesheet\" type=\"text/css\" href=\""; | ||||
36 | #line 6 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
37 | $output .= $stash->get('opaclayoutstylesheet'); | ||||
38 | $output .= "\" />\n"; | ||||
39 | } | ||||
40 | else { | ||||
41 | $output .= " <link rel=\"stylesheet\" type=\"text/css\" href=\""; | ||||
42 | #line 7 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
43 | $output .= $stash->get('themelang'); | ||||
44 | $output .= "/css/"; | ||||
45 | #line 7 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
46 | $output .= $stash->get('opaclayoutstylesheet'); | ||||
47 | $output .= "\" />\n"; | ||||
48 | } | ||||
49 | |||||
50 | $output .= " "; | ||||
51 | #line 10 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
52 | if (($stash->get('opaccolorstylesheet'))) { | ||||
53 | $output .= " "; | ||||
54 | #line 10 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
55 | if (($stash->get(['opaccolorstylesheet', 0, 'match', [ '^https?:|^\/' ]]))) { | ||||
56 | $output .= " <link rel=\"stylesheet\" type=\"text/css\" href=\""; | ||||
57 | #line 8 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
58 | $output .= $stash->get('opaccolorstylesheet'); | ||||
59 | $output .= "\" />\n "; | ||||
60 | } | ||||
61 | else { | ||||
62 | $output .= " <link rel=\"stylesheet\" type=\"text/css\" href=\""; | ||||
63 | #line 9 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
64 | $output .= $stash->get('themelang'); | ||||
65 | $output .= "/css/"; | ||||
66 | #line 9 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
67 | $output .= $stash->get('opaccolorstylesheet'); | ||||
68 | $output .= "\" />\n "; | ||||
69 | } | ||||
70 | |||||
71 | $output .= " "; | ||||
72 | } | ||||
73 | |||||
74 | $output .= " "; | ||||
75 | #line 11 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
76 | if (($stash->get('opac_css_override'))) { | ||||
77 | $output .= " <link rel=\"stylesheet\" type=\"text/css\" href=\""; | ||||
78 | #line 10 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
79 | $output .= $stash->get('themelang'); | ||||
80 | $output .= "/css/"; | ||||
81 | #line 10 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
82 | $output .= $stash->get('opac_css_override'); | ||||
83 | $output .= "\" />\n"; | ||||
84 | } | ||||
85 | |||||
86 | $output .= " <link rel=\"stylesheet\" type=\"text/css\" media=\"print\" href=\""; | ||||
87 | #line 11 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
88 | $output .= $stash->get('themelang'); | ||||
89 | $output .= "/css/print.css\" />\n"; | ||||
90 | #line 13 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
91 | if ($stash->get('persona')) { | ||||
92 | $output .= " <link rel=\"stylesheet\" type=\"text/css\" href=\""; | ||||
93 | #line 12 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
94 | $output .= $stash->get('themelang'); | ||||
95 | $output .= "/css/persona-buttons.css\" />\n"; | ||||
96 | } | ||||
97 | |||||
98 | $output .= " "; | ||||
99 | #line 13 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
100 | if (($stash->get('OPACMobileUserCSS'))) { | ||||
101 | $output .= "<style type=\"text/css\" media=\"screen and (max-width:700px)\">"; | ||||
102 | #line 13 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
103 | $output .= $stash->get('OPACMobileUserCSS'); | ||||
104 | $output .= "</style>"; | ||||
105 | } | ||||
106 | |||||
107 | $output .= " "; | ||||
108 | #line 14 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
109 | if (($stash->get('bidi'))) { | ||||
110 | $output .= " <link rel=\"stylesheet\" type=\"text/css\" href=\""; | ||||
111 | #line 13 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
112 | $output .= $stash->get('themelang'); | ||||
113 | $output .= "/css/right-to-left.css\" />\n"; | ||||
114 | } | ||||
115 | |||||
116 | $output .= " "; | ||||
117 | #line 14 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
118 | if (($stash->get('OPACUserCSS'))) { | ||||
119 | $output .= "<style type=\"text/css\">"; | ||||
120 | #line 14 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
121 | $output .= $stash->get('OPACUserCSS'); | ||||
122 | $output .= "</style>"; | ||||
123 | } | ||||
124 | |||||
125 | $output .= "\n<!-- yui js --> \n<script type=\"text/javascript\" src=\""; | ||||
126 | #line 16 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
127 | $output .= $stash->get('yuipath'); | ||||
128 | $output .= "/utilities/utilities.js\"></script> \n<script type=\"text/javascript\" src=\""; | ||||
129 | #line 17 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
130 | $output .= $stash->get('yuipath'); | ||||
131 | $output .= "/container/container-min.js\"></script> \n<script type=\"text/javascript\" src=\""; | ||||
132 | #line 18 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
133 | $output .= $stash->get('yuipath'); | ||||
134 | $output .= "/menu/menu-min.js\"></script> \n<script type=\"text/javascript\" src=\""; | ||||
135 | #line 19 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
136 | $output .= $stash->get('themelang'); | ||||
137 | $output .= "/lib/jquery/jquery.js\"></script>\n<script type=\"text/javascript\" src=\""; | ||||
138 | #line 20 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
139 | $output .= $stash->get('themelang'); | ||||
140 | $output .= "/lib/jquery/jquery-ui.js\"></script>\n<script type=\"text/javascript\" src=\""; | ||||
141 | #line 21 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
142 | $output .= $stash->get('themelang'); | ||||
143 | $output .= "/lib/jquery/plugins/jquery.hoverIntent.minified.js\"></script>\n<script type=\"text/javascript\" src=\""; | ||||
144 | #line 22 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
145 | $output .= $stash->get('themelang'); | ||||
146 | $output .= "/js/script.js\"></script>\n"; | ||||
147 | #line 28 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
148 | if (($stash->get('OPACAmazonCoverImages'))) { | ||||
149 | $output .= " <script type=\"text/javascript\" language=\"javascript\">//<![CDATA[\n var NO_AMAZON_IMAGE = _(\"No cover image available\");\n //]]>\n</script>\n<script type=\"text/javascript\" language=\"javascript\" src=\""; | ||||
150 | #line 27 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
151 | $output .= $stash->get('themelang'); | ||||
152 | $output .= "/js/amazonimages.js\"></script>\n"; | ||||
153 | } | ||||
154 | |||||
155 | $output .= " "; | ||||
156 | #line 32 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
157 | if (($stash->get('SyndeticsCoverImages'))) { | ||||
158 | $output .= " <script type=\"text/javascript\">//<![CDATA[\n var NO_AMAZON_IMAGE = _(\"No cover image available\");\n //]]>\n</script>\n<script type=\"text/javascript\" src=\""; | ||||
159 | #line 32 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
160 | $output .= $stash->get('themelang'); | ||||
161 | $output .= "/js/amazonimages.js\"></script> "; | ||||
162 | } | ||||
163 | |||||
164 | $output .= " "; | ||||
165 | #line 34 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
166 | if (($stash->get('opacbookbag'))) { | ||||
167 | $output .= "<script type=\"text/javascript\" src=\""; | ||||
168 | #line 32 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
169 | $output .= $stash->get('themelang'); | ||||
170 | $output .= "/js/basket.js\">\n"; | ||||
171 | } | ||||
172 | elsif (($stash->get('virtualshelves'))) { | ||||
173 | $output .= "<script type=\"text/javascript\" src=\""; | ||||
174 | #line 33 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
175 | $output .= $stash->get('themelang'); | ||||
176 | $output .= "/js/basket.js\">\n"; | ||||
177 | } | ||||
178 | else { | ||||
179 | $output .= "<script type=\"text/javascript\"> var readCookie;"; | ||||
180 | } | ||||
181 | |||||
182 | $output .= "\n</script>\n\n<script type=\"text/javascript\">\n //<![CDATA[\n var MSG_CONFIRM_AGAIN = _(\"Warning: Cannot be undone. Please confirm once again\")\n var MSG_DELETE_SEARCH_HISTORY = _(\"Are you sure you want to delete your search history?\");\n "; | ||||
183 | #line 55 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
184 | if (($stash->get('opacbookbag'))) { | ||||
185 | $output .= "var MSG_BASKET_EMPTY = _(\"Your cart is currently empty\");\n var MSG_RECORD_IN_BASKET = _(\"This item is already in your cart\");\n var MSG_RECORD_ADDED = _(\"This item has been added to your cart\");\n var MSG_RECORD_REMOVED = _(\"This item has been removed from your cart\");\n var MSG_NRECORDS_ADDED = _(\" item(s) added to your cart\");\n var MSG_NRECORDS_IN_BASKET = _(\"already in your cart\");\n var MSG_NO_RECORD_SELECTED = _(\"No item was selected\");\n var MSG_NO_RECORD_ADDED = _(\"No item was added to your cart\");\n var MSG_CONFIRM_DEL_BASKET = _(\"Are you sure you want to empty your cart?\");\n var MSG_CONFIRM_DEL_RECORDS = _(\"Are you sure you want to remove the selected items?\");\n var MSG_ITEM_IN_CART = _(\"In your cart\");\n var MSG_IN_YOUR_CART = _(\"Items in your cart: \");\n var MSG_ITEM_NOT_IN_CART = _(\"Add to your cart\");\n \$(\"#cartDetails\").ready(function(){ \$(\"#cmspan\").html(\"<a href=\\\"#\\\" id=\\\"cartmenulink\\\"><span id=\\\"carticon\\\"></span> \"+_(\"Cart\")+\"<span id=\\\"basketcount\\\"><\\/span><\\/a>\"); }); "; | ||||
186 | } | ||||
187 | else { | ||||
188 | #line 55 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
189 | if (($stash->get('virtualshelves'))) { | ||||
190 | $output .= "\n var MSG_NO_RECORD_SELECTED = _(\"No item was selected\");"; | ||||
191 | } | ||||
192 | |||||
193 | } | ||||
194 | |||||
195 | $output .= "\n "; | ||||
196 | #line 69 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
197 | if (($stash->get('opacuserlogin'))) { | ||||
198 | #line 69 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
199 | if (($stash->get('TagsEnabled'))) { | ||||
200 | $output .= "var MSG_TAGS_DISABLED = _(\"Sorry, tags are not enabled on this system.\");\n var MSG_TAG_ALL_BAD = _(\"Error! Your tag was entirely markup code. It was NOT added. Please try again with plain text.\");\n var MSG_ILLEGAL_PARAMETER = _(\"Error! Illegal parameter\");\n var MSG_TAG_SCRUBBED = _(\"Note: Your tag contained markup code that was removed. The tag was added as \");\n var MSG_ADD_TAG_FAILED = _(\"Error! The add_tag operation failed on\");\n var MSG_ADD_TAG_FAILED_NOTE = _(\"Note: you can only tag an item with a given term once. Check 'My Tags' to see your current tags.\");\n var MSG_DELETE_TAG_FAILED = _(\"Error! You cannot delete the tag\");\n var MSG_DELETE_TAG_FAILED_NOTE = _(\"Note: you can only delete your own tags.\")\n var MSG_LOGIN_REQUIRED = _(\"You must be logged in to add tags.\");\n var MSG_TAGS_ADDED = _(\"Tags added: \");\n var MSG_TAGS_DELETED = _(\"Tags added: \");\n var MSG_TAGS_ERRORS = _(\"Errors: \");\n var MSG_MULTI_ADD_TAG_FAILED = _(\"Unable to add one or more tags.\");\n var MSG_NO_TAG_SPECIFIED = _(\"No tag was specified.\");"; | ||||
201 | } | ||||
202 | |||||
203 | } | ||||
204 | |||||
205 | $output .= "\n "; | ||||
206 | #line 72 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
207 | if (($stash->get('OPACAmazonCoverImages'))) { | ||||
208 | $output .= "\$(window).load(function() {\n verify_images();\n });"; | ||||
209 | } | ||||
210 | |||||
211 | $output .= "\n "; | ||||
212 | #line 75 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
213 | if (($stash->get('SyndeticsCoverImages'))) { | ||||
214 | $output .= "\$(window).load(function() {\n verify_images();\n });"; | ||||
215 | } | ||||
216 | |||||
217 | $output .= "\n "; | ||||
218 | #line 76 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
219 | if (($stash->get('opacuserjs'))) { | ||||
220 | #line 76 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
221 | $output .= $stash->get('opacuserjs'); | ||||
222 | } | ||||
223 | |||||
224 | $output .= "\n //]]>\n"; | ||||
225 | #line 80 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
226 | if (($stash->get('opacbookbag'))) { | ||||
227 | $output .= "</script><script type=\"text/javascript\" src=\""; | ||||
228 | #line 78 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
229 | $output .= $stash->get('themelang'); | ||||
230 | $output .= "/js/basket.js\">\n"; | ||||
231 | } | ||||
232 | elsif (($stash->get('virtualshelves'))) { | ||||
233 | $output .= "</script><script type=\"text/javascript\" src=\""; | ||||
234 | #line 79 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
235 | $output .= $stash->get('themelang'); | ||||
236 | $output .= "/js/basket.js\">\n"; | ||||
237 | } | ||||
238 | else { | ||||
239 | $output .= "</script><script type=\"text/javascript\">var readCookie;"; | ||||
240 | } | ||||
241 | |||||
242 | $output .= "</script>\n"; | ||||
243 | #line 81 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
244 | if (($stash->get('opacuserlogin'))) { | ||||
245 | #line 81 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
246 | if (($stash->get('TagsEnabled'))) { | ||||
247 | $output .= "<script type=\"text/javascript\" src=\""; | ||||
248 | #line 81 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
249 | $output .= $stash->get('themelang'); | ||||
250 | $output .= "/js/tags.js\"></script>"; | ||||
251 | } | ||||
252 | |||||
253 | } | ||||
254 | else { | ||||
255 | |||||
256 | } | ||||
257 | |||||
258 | $output .= " "; | ||||
259 | #line 87 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
260 | if (($stash->get('GoogleJackets'))) { | ||||
261 | $output .= " <script type=\"text/javascript\" src=\""; | ||||
262 | #line 81 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
263 | $output .= $stash->get('themelang'); | ||||
264 | $output .= "/js/google-jackets.js\"></script>\n<script type=\"text/javascript\">\n //<![CDATA[\n var NO_GOOGLE_JACKET = _(\"No cover image available\");\n //]]>\n</script>\n"; | ||||
265 | } | ||||
266 | |||||
267 | $output .= " "; | ||||
268 | #line 93 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
269 | if ($stash->get('OpenLibraryCovers')) { | ||||
270 | $output .= " <script type=\"text/javascript\" src=\""; | ||||
271 | #line 87 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
272 | $output .= $stash->get('themelang'); | ||||
273 | $output .= "/js/openlibrary.js\"></script>\n<script type=\"text/javascript\">\n//<![CDATA[\nvar NO_OL_JACKET = _(\"No cover image available\");\n//]]>\n</script>\n"; | ||||
274 | } | ||||
275 | |||||
276 | $output .= " "; | ||||
277 | #line 99 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
278 | if ($stash->get('OPACLocalCoverImages')) { | ||||
279 | $output .= " <script type=\"text/javascript\" src=\""; | ||||
280 | #line 93 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
281 | $output .= $stash->get('themelang'); | ||||
282 | $output .= "/js/localcovers.js\"></script>\n<script type=\"text/javascript\">\n//<![CDATA[\nvar NO_LOCAL_JACKET = _(\"No cover image available\");\n//]]>\n</script>\n"; | ||||
283 | } | ||||
284 | |||||
285 | $output .= " "; | ||||
286 | #line 107 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
287 | if (($stash->get('BakerTaylorEnabled'))) { | ||||
288 | $output .= "<script type=\"text/javascript\" src=\""; | ||||
289 | #line 99 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
290 | $output .= $stash->get('themelang'); | ||||
291 | $output .= "/js/bakertaylorimages.js\"></script>\n<script type=\"text/javascript\">\n //<![CDATA[\n var NO_BAKERTAYLOR_IMAGE = _(\"No cover image available\");\n \$(window).load(function(){\n bt_verify_images();\n });\n //]]>\n</script>"; | ||||
292 | } | ||||
293 | |||||
294 | $output .= " <link rel=\"unapi-server\" type=\"application/xml\" title=\"unAPI\" href=\""; | ||||
295 | #line 107 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
296 | $output .= $stash->get('OPACBaseURL'); | ||||
297 | $output .= "/cgi-bin/koha/unapi\" />\n"; | ||||
298 | #line 110 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
299 | if (($stash->get('GoogleIndicTransliteration'))) { | ||||
300 | $output .= " <script type=\"text/javascript\" src=\"http://www.google.com/jsapi\"></script>\n <script type=\"text/javascript\" src=\""; | ||||
301 | #line 109 "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc" | ||||
302 | $output .= $stash->get('themelang'); | ||||
303 | $output .= "/js/googleindictransliteration.js\"></script>\n"; | ||||
304 | } | ||||
305 | |||||
306 | $output .= " "; | ||||
307 | } }; | ||||
308 | if ($@) { | ||||
309 | $_tt_error = $context->catch($@, \$output); | ||||
310 | die $_tt_error unless $_tt_error->type eq 'return'; | ||||
311 | } | ||||
312 | |||||
313 | return $output; | ||||
314 | } | ||||
315 | |||||
316 | ; |